# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo3.02
# Description:
# Author:       asus
# Date:         2019/1/18
#-------------------------------------------------------------------------------


# 本例演示了序列解包，链式赋值和增量赋值的使用方法
x,y,z = 1,2,3 # 使用序列解包方式进行赋值
print(x, y, z)

x,y = y, x # 利用序列解包交换x和y的值
print(x, y)

x = y = 20
print(x, y)

x *= 2     # 增量赋值
x %= 3     # 增量赋值
print(x)
